﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Xiaov.SmartWeb.Infrastructure.ExtMethod;
using Xiaov.SmartWeb.Model;

namespace Xiaov.SmartWeb.Application.PluginSrc.StatisticalSystem.OGWell.Json
{
    public partial class Danwei : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write(Xiaov.SmartWeb.Model.ActiveRecord.DWBMB.FindAll().Where(s=>s.DWBM.Contains(PUser.USERDEPT)).ToList().ToDataTable().ToJsonForCombobox("DWBM", "DWMC", ""));
        }
    }
}